package com.ny.service;



import com.ny.entity.Devices;

import java.util.List;

public interface DevicesService {

    /**
     * 查询所有设备信息
     * @return 设备列表
     */
    List<Devices> findAll();
    
    List<Devices> findByName(String name);
    
    List<Devices> findByNameContaining(String name);
    
    Devices save(Devices devices);
    
    Devices update(Devices devices);
    
    void deleteById(String id);

}